package com.imagination.applet.domain.photo.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class AddUserPhotoResult {
    @Builder.Default
    private boolean exceedUserLimit = false;
    @Builder.Default
    private boolean exceedVipLimit = false;

    private UserPhoto userPhoto;

    public static AddUserPhotoResult of(UserPhoto userPhoto) {
        return AddUserPhotoResult.builder()
                .userPhoto(userPhoto)
                .build();
    }

}
